package com.fastloan.safe.mgt.login.service;


import com.fastloan.safe.mgt.user.model.CmuUser;
import com.kawins.result.ResultTo;
import com.kawins.shiro.temp.achieve.iface.IShiroService;

import javax.servlet.http.HttpServletRequest;

/**
 * @author rankai
 *         createTime 2017-09-2017/9/25 16:16
 */
public interface LoginService extends IShiroService<CmuUser> {

    void loginSuccess(boolean isCustomer);

    boolean cusLogin(String userName, String code, Integer loginType, Integer type);

    ResultTo login(HttpServletRequest request, Integer type);

    ResultTo sendCode(String value);

}
